package dominion.kingdom;

import dominion.Action;
import dominion.CardTypes;
import dominion.Dominion;
import dominion.Player;

public class Moat implements Action {

	@Override
	public void execute(Dominion dominion) {
		Player player = dominion.current();
		for (int i = 0; i < 2; i++) {
			player.draw(dominion);
		}
	}

	@Override
	public CardTypes getType() {
		return CardTypes.Moat;
	}

	@Override
	public String toString() {
		return getType().name();
	}
}